package sel.me.spring;

import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.core.convert.support.ConfigurableConversionService;
import org.springframework.core.env.ConfigurableEnvironment;
import org.springframework.core.env.MissingRequiredPropertiesException;
import org.springframework.core.env.MutablePropertySources;
import org.springframework.core.io.Resource;
import org.springframework.core.io.support.PathMatchingResourcePatternResolver;
import org.springframework.core.io.support.ResourcePatternResolver;


public class PathMatchingResourcePatternResolverTest {

	public static void main(String[] args) throws Exception {
        ResourcePatternResolver resourcePatternResolver = new PathMatchingResourcePatternResolver();

        Resource[] resources = resourcePatternResolver.getResources("classpath*:spring/spring-*.xml");
        
        for (Resource resource : resources) {
            System.out.println(resource.getFilename());
            System.out.println(resource.getURL());
            System.out.println(resource.getURI());
            System.out.println("=================");
        }
        
        
    }
}
